import request from '@/utils/request'
const api_url=`/admin/cmn/dict`
export default{
    //根据dictcode 获取下级节点
    findByDictCode(dictcode){
        return request({
            url: `${api_url}/findByDictCode/${dictcode}`,
            methed:'get',
        })
    },
    //根据id获取子节点
    findChildrenData(id){
        return request({
            url: `${api_url}/findChildrenData/${id}`,
            methed:'get',
        })
    },
    findChildrenData(id){
        return request({
            url: `${api_url}/findChildrenData/${id}`,
            methed: 'get'
        })
    }
}
